package com.itheima.service;

import com.itheima.common.PageResult;
import com.itheima.dto.Simple;
import com.itheima.dto.SubjectsDirectorysDto;
import com.itheima.pojo.SubjectsDirectorys;

import java.util.List;

public interface SubjectsDirectorysService {
    void modifySubjectsDirectorysById(SubjectsDirectorys subjectsDirectorys);

    Integer addSubjectsDirectorys(SubjectsDirectorys subjectsDirectorys);

    PageResult subjectsDirectorysPage(Integer page, Integer pagesize, Integer subjectID, String directoryName, Integer state);

    void removeSubjectsDirectorysById(Integer id);

    void modifySubjectsDirectorysState(Integer id, Integer state);

    SubjectsDirectorysDto findSubjectsDirectorysById(Integer id);

    List<Simple> subjectsDirectorysSimple(Integer subjectID);
}
